<?
require '../inc/SQL.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>novo</title>
		<meta name="author" content="Matheus" />
		<link  rel="stylesheet" type="text/css" href="login.css"/>
		<!-- Date: 2012-03-02 -->
	</head>
	<body>
		
						<div id="conteudocima">
					
							<a  href="logado.php"><p>Home </p></a>
							<a  href="novo.php"><p>Novo </p></a>
							<a href="../js/Javascript/index.php"><p>Cadastrar Produto</p></a>
							<a href="consulta.php"><p>Conulta </p></a>
							
							<p style="margin-right:40px;	 float: right">Admin Logado | <a href="login.php" style="text-decoration: none; color: #FFFFFF" > Sair</a></p>
							
							
			</div>
			
			<div id="conteudoesquerdo">
					<div id="conteudocima2">
								<p  style="margin-top: 10px; margin-left: 70px"> Logados</p>		
								
									<?
								$query = "SELECT *  FROM usuarios WHERE status = 'a'";
								$result = mysql_query($query);
								
								if($result){
									while ($row = mysql_fetch_assoc($result)) {
										echo "<p style='color:#000000; margin-left:70px;'>".$row['usuario']."</p>";
										
									}
								}
							
							?> 
								
								
					</div>
				
			</div>
			
				<div id="conteudo">
					
							<h4>Cadastro:</h4>			
							<form id="cadastro" name="cadastro" method="post" action="cadastro.php" >
  <table cellspacing="5" cellpadding="0" style="margin-left:137px; margin-top: 50px; border: 1px solid #6C7B8B; width: 90px;">
    <tr>
    	<td width="69">Cód.Produto:</td>
    	<td width="549"><input name="codigo" type="text" id="codigo" size="10" maxlength="60" /></td>
    </tr>
    <tr>
      <td width="69">Empresa:</td>
      <td width="546"><input name="nome" type="text" id="nome" size="30" maxlength="60" />
        <span class="style1"></span></td>
    </tr>
    <tr>
      <td>Cnpj:</td>
      <td><input name="email" type="text" id="email" size="30" maxlength="60" />
      <span class="style1"></span></td>
    </tr>
    <tr>
      <td>Loja:</td>
      <td><input name="sexo" type="radio" value="Masculino" checked="checked" />
        Matão 
        <input name="sexo" type="radio" value="Feminino" />
        Araraquara <span class="style1"></span> </td>
    </tr>
    <tr>
      <td>Data:</td>
      <td><input name="endereco" type="text" id="endereco" size="14" maxlength="70" />
        <span class="style1"></span></td>
    </tr>
    <tr>
    <tr>
      <td>Produtos:</td>
      <td><select name="estado" id="estado">
        <option>Selecione...</option>
        <option value="1">Cama</option>
        <option value="2">Sofa</option>
        <option value="3">Televisao</option>
        <option value="4">Raquer</option>
        <option value="5">Chuveiro</option>
        <option value="6">Telefone</option>
        <option value="7">Colchao</option>
        <option value="8">Celular</option>
        <option value="9">Almofada</option>
        <option value="10">Quit-Pneus</option>
        <option value="11">Talheres</option>
        <option value="12">mesa</option>
        <option value="13">Violao</option>
        <option value="14">Chapinha</option>
        <option value="15">Escova</option>
        <option value="16">Perfume</option>
        <option value="17">Roupa</option>
        <option value="18">Vara-pesca</option>
        <option value="19">Anzol</option>
        <option value="20">Copos</option>
        <option value="21">Toalhas</option>
        <option value="22">Ventilador</option>
        <option value="23">ar-Cond</option>
        <option value="24">Computador</option>
        <option value="25">HD</option>
        <option value="26">DeskTop</option>
          </select>
        <span class="style1">    </span></td>
    </tr>
      <td colspan="2"><p>
        <input name="cadastrar" type="submit" id="cadastrar" value="Concluir" style="-moz-border-radius: 10px;"/> 
          <input name="limpar" type="reset" id="limpar" value="Limpar" style="-moz-border-radius: 10px;"/>
    </tr>
  </table>
</form>
							
				</div>
			
	</body>
</html>
